Optimal. Leaf size=139 \[ -\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )-\frac {9}{2} b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+9 b^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )-9 b^3 n^3 \text {Li}_4\left (1+\frac {e}{d x^{2/3}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2504, 2443,
2481, 2421, 2430, 6724} \begin {gather*} 9 b^2 n^2 \text {PolyLog}\left (3,\frac {e}{d x^{2/3}}+1\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )-\frac {9}{2} b n \text {PolyLog}\left (2,\frac {e}{d x^{2/3}}+1\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-9 b^3 n^3 \text {PolyLog}\left (4,\frac {e}{d x^{2/3}}+1\right )-\frac {3}{2} \log \left (-\frac {e}{d x^{2/3}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2421
Rule 2430
Rule 2443
Rule 2481
Rule 2504
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3}{x} \, dx &=-\left (\frac {3}{2} \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{x} \, dx,x,\frac {1}{x^{2/3}}\right )\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )+\frac {1}{2} (9 b e n) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{d+e x} \, dx,x,\frac {1}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )+\frac {1}{2} (9 b n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2 \log \left (-\frac {e \left (-\frac {d}{e}+\frac {x}{e}\right )}{d}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )-\frac {9}{2} b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+\left (9 b^2 n^2\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )-\frac {9}{2} b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+9 b^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )-\left (9 b^3 n^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3\left (\frac {x}{d}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )\\ &=-\frac {3}{2} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log \left (-\frac {e}{d x^{2/3}}\right )-\frac {9}{2} b n \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )+9 b^2 n^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )-9 b^3 n^3 \text {Li}_4\left (1+\frac {e}{d x^{2/3}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(341\) vs. \(2(139)=278\).
time = 0.24, size = 341, normalized size = 2.45 \begin {gather*} \left (a-b n \log \left (d+\frac {e}{x^{2/3}}\right )+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^3 \log (x)+3 b n \left (a-b n \log \left (d+\frac {e}{x^{2/3}}\right )+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \left (\left (\log \left (d+\frac {e}{x^{2/3}}\right )-\log \left (1+\frac {e}{d x^{2/3}}\right )\right ) \log (x)+\frac {3}{2} \text {Li}_2\left (-\frac {e}{d x^{2/3}}\right )\right )+\frac {9}{2} b^2 n^2 \left (-a+b n \log \left (d+\frac {e}{x^{2/3}}\right )-b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right ) \left (\log ^2\left (d+\frac {e}{x^{2/3}}\right ) \log \left (-\frac {e}{d x^{2/3}}\right )+2 \log \left (d+\frac {e}{x^{2/3}}\right ) \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )-2 \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )\right )-\frac {3}{2} b^3 n^3 \left (\log ^3\left (d+\frac {e}{x^{2/3}}\right ) \log \left (-\frac {e}{d x^{2/3}}\right )+3 \log ^2\left (d+\frac {e}{x^{2/3}}\right ) \text {Li}_2\left (1+\frac {e}{d x^{2/3}}\right )-6 \log \left (d+\frac {e}{x^{2/3}}\right ) \text {Li}_3\left (1+\frac {e}{d x^{2/3}}\right )+6 \text {Li}_4\left (1+\frac {e}{d x^{2/3}}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \left (d +\frac {e}{x^{\frac {2}{3}}}\right )^{n}\right )\right )^{3}}{x}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{x^{2/3}}\right )}^n\right )\right )}^3}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________